package crmsystem.com.service.impl;

import crmsystem.com.utils.Query;
import crmsystem.com.utils.PageUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import crmsystem.com.dao.SaleexecutedataDao;
import crmsystem.com.entity.SaleexecutedataEntity;
import crmsystem.com.service.SaleexecutedataService;


@Service("saleexecutedataService")
public class SaleexecutedataServiceImpl extends ServiceImpl<SaleexecutedataDao, SaleexecutedataEntity> implements SaleexecutedataService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SaleexecutedataEntity> page = this.page(
                new Query<SaleexecutedataEntity>().getPage(params),
                new QueryWrapper<SaleexecutedataEntity>()
        );
        return new PageUtils(page);
    }

}